package com.qqb.service;

import com.github.pagehelper.Page;
import com.qqb.pojo.Officer;

import java.util.Map;

public interface OfficerService {

    /**
     * 分页查询
     * @param condition
     * @param pageNum
     * @param pageSize
     * @return
     */
    Page<Officer> searchPageList(Map<String, String> condition, String pageNum, String pageSize);

    /**
     * 添加
     * @param officer
     */
    void add(Officer officer);

    /**
     * 修改
     * @param officer
     */
    void update(Officer officer);

    /**
     * 删除
     * @param ids
     */
    void delete(String[] ids);
}
